import os
import os.path as path


class Config(object):
    ROOT = r'E:\毕业设计\code\Microservices'
    dataset_file_path = path.join(ROOT,'files','user_id','dataset')
    model_file_path = path.join(ROOT,'files', 'user_id','model')


class NamekoConfig(object):
    nameko_config = {
        'AMQP_URI': 'pyamqp://guest:guest@localhost'  # e.g. "pyamqp://guest:guest@localhost"
    }


class MySQLConfig(object):
    host = 'localhost'
    username = 'root'
    password = 'wjw959'
    db = 'wjw'